//
//  SearchBarView.h
//  CarLife
//
//  Created by yu on 2017/11/13.
//  Copyright © 2017年 jpas. All rights reserved.
//

#import <UIKit/UIKit.h>

@class SearchBarView;

@protocol SearchBarDelegate <NSObject>

- (void)searchBarDidBeginEditing:(SearchBarView *)searchBar;

@end

typedef void(^HistoryRecordBlock)(NSString *record);

@interface SearchBarView : UITextField

@property (nonatomic, copy) HistoryRecordBlock historyRecordBlock;

@property (nonatomic, weak) id<SearchBarDelegate> s_delegate;

@end
